#include<bits/stdc++.h>
using namespace std;

int main () {
    int n;
    cin >> n;
    double res = (n - 100) * 0.9 * 2;
    printf("%.1lf\n", res);
    return 0;
}